
import request from "@/request/api";
/* 工单抽查 */
//查询分页列表
export function getListApi(data) {
    return request({
        url: "/eam-service-order/orderInspection/queryInspectPageList",
        method: "get",
        params: data,
    });
}
//新增或修改抽查意见
export function addCheck(data) {
    return request({
        url: "/eam-service-order/orderInspection/insertOrUpdate",
        method: "post",
        data: data,
    });
}
//查询抽查意见
export function getCheckInfo(data) {
    return request({
        url: "/eam-service-order/orderInspection/queryList",
        method: "get",
        params:data,
    });
}
//抽查配置-查询列表，获取用户权重
export function queryList(data) {
    return request({
      url: '/eam-service-configure/prior/queryList',
      method: 'get',
      params: data
    })
  }

  //报表路径接口eam-common-web/finereport/getAddress
  export function getAddressPre(data) {
    return request({
      url: '/eam-common-web/finereport/getAddress',
      method: 'get',
      params: data
    })
  }
  //获取报表接口后部分
  export function getAddressAfter(data) {
    return request({
      url: '/eam-service-system/sys/ConfigType/getByClassifyCodeAndCode',
      method: 'get',
      params: data
    })
  }